package cn.wolfcode.tieba.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author 王金龙
 * @date 2021/2/2 21:20
 */
@Getter
@Setter
public class User  {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String password;
    private Date createTime = new Date();
    private Integer tiezinum = 0;
    private boolean status = true;
    private Date updateTime = new Date();

    public User() {

    }
    public User(String name,String password) {
        this.name = name;
        this.password = password;
    }
}
